package com.qqtech.qquan.user.dao;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.dao.BaseDao;
import com.qqtech.qquan.user.model.*;

public interface UserSuggestDao extends BaseDao<UserSuggest> {
	
	/**
	 * 后台查询 -分页
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<UserSuggestVo> queryPageListAdmin(UserSuggestQuery query, Pageable pageable);

	/**
	 * 后台查询记录数
	 * @param query
	 * @return
	 */
	public int queryCountAdmin(UserSuggestQuery query);
}
